Microchip Technology /ATSAME53J19A /AC /COMPCTRL[0]

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as COMPCTRL[0]

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (ENABLE)ENABLE 0 (SINGLE)SINGLE 0 (TOGGLE)INTSEL 0 (RUNSTDBY)RUNSTDBY 0 (PIN0)MUXNEG 0 (PIN0)MUXPOS 0 (SWAP)SWAP 0SPEED 0 (HYSTEN)HYSTEN 0 (HYST50)HYST 0 (OFF)FLEN0 (OFF)OUT

MUXNEG=PIN0, MUXPOS=PIN0, INTSEL=TOGGLE, HYST=HYST50, FLEN=OFF, OUT=OFF

Description

Comparator Control n

Fields

ENABLE

Enable

SINGLE

Single-Shot Mode

INTSEL

Interrupt Selection

0 (TOGGLE): Interrupt on comparator output toggle

1 (RISING): Interrupt on comparator output rising

2 (FALLING): Interrupt on comparator output falling

3 (EOC): Interrupt on end of comparison (single-shot mode only)

RUNSTDBY

Run in Standby

MUXNEG

Negative Input Mux Selection

0 (PIN0): I/O pin 0

1 (PIN1): I/O pin 1

2 (PIN2): I/O pin 2

3 (PIN3): I/O pin 3

4 (GND): Ground

5 (VSCALE): VDD scaler

6 (BANDGAP): Internal bandgap voltage

7 (DAC): DAC output

MUXPOS

Positive Input Mux Selection

0 (PIN0): I/O pin 0

1 (PIN1): I/O pin 1

2 (PIN2): I/O pin 2

3 (PIN3): I/O pin 3

4 (VSCALE): VDD Scaler

SWAP

Swap Inputs and Invert

SPEED

Speed Selection

3 (HIGH): High speed

HYSTEN

Hysteresis Enable

HYST

Hysteresis Level

0 (HYST50): 50mV

1 (HYST100): 100mV

2 (HYST150): 150mV

FLEN

Filter Length

0 (OFF): No filtering

1 (MAJ3): 3-bit majority function (2 of 3)

2 (MAJ5): 5-bit majority function (3 of 5)

OUT

Output

0 (OFF): The output of COMPn is not routed to the COMPn I/O port

1 (ASYNC): The asynchronous output of COMPn is routed to the COMPn I/O port

2 (SYNC): The synchronous output (including filtering) of COMPn is routed to the COMPn I/O port

Links

()